package com.clayecloud.common.client.services.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.clayecloud.common.mappers.HouseMapper;
import com.clayecloud.common.entity.House;
import com.clayecloud.common.client.services.HouseService;
/**
 * @author  ClayeLink
 * @date  2021/12/31 14:51
 */
@Service
public class HouseServiceImpl implements HouseService{

    @Resource
    private HouseMapper houseMapper;

    @Override
    public int deleteByPrimaryKey(Integer houseId) {
        return houseMapper.deleteByPrimaryKey(houseId);
    }

    @Override
    public int insert(House record) {
        return houseMapper.insert(record);
    }

    @Override
    public int insertSelective(House record) {
        return houseMapper.insertSelective(record);
    }

    @Override
    public House selectByPrimaryKey(Integer houseId) {
        return houseMapper.selectByPrimaryKey(houseId);
    }

    @Override
    public int updateByPrimaryKeySelective(House record) {
        return houseMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(House record) {
        return houseMapper.updateByPrimaryKey(record);
    }

}
